<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    function filterArray(arr,a){
        var arr1=arr.filter(function(ele,i){
            return ele > a
        })
        document.write(arr1)
    }
    filterArray([1,11,25,4,9,25,16],10)
</script>